package com.kangfu.db.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 用户运动处方配置课程对象 user_prescription_item
 * 
 * @author ruoyi
 * @date 2023-01-13
 */
public class UserPrescriptionItem
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    private Integer itemId;

    /** user_prescription.id */
    private Integer prescriptionId;

    private Integer checkinCount;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public void setPrescriptionId(Integer prescriptionId)
    {
        this.prescriptionId = prescriptionId;
    }

    public Integer getPrescriptionId() 
    {
        return prescriptionId;
    }

    public Integer getCheckinCount() {
        return checkinCount;
    }

    public void setCheckinCount(Integer checkinCount) {
        this.checkinCount = checkinCount;
    }





    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("prescriptionId", getPrescriptionId())
            .toString();
    }
}
